from tkinter import  *
top =Tk()

canvas = Canvas(top,height=200,width=500)
image_file = PhotoImage(file='img/bg.gif')
image = canvas.create_image(0,0,anchor='nw',image=image_file)
canvas.pack()
top.mainloop()

